$namespaceselect = '<select name="namespace">';
$arr = $wgContLang->getNamespaces();
- for ( $i = 0; $i < 14; $i++ ) {
+ for ( $i = 0; $i <= 17; $i++ ) {
$namespacename = str_replace ( '_', ' ', $arr[$i] );
$n = ($i == 0) ? wfMsg ( 'articlenamespace' ) : $namespacename;
$sel = ($i == $namespace) ? ' selected="selected"' : '';
NS_HELP => 'Help',
NS_HELP_TALK => 'Help_talk',
NS_CATEGORY => 'Category',
- NS_CATEGORY_TALK => 'Category_talk'
+ NS_CATEGORY_TALK => 'Category_talk',
+ NS_THREAD => 'Thread',
+ NS_THREAD_TALK => 'Thread_talk',
);
if(isset($wgExtraNamespaces)) {